package com.aos.erp.schools.model.student;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Auther: chb
 * @Date: 2018/11/21 18:17
 * @Description:  消息 状态 处理
 */
@Data
@TableName("t_student_news")
public class StudentNews implements Serializable {

    @TableId(value = "id", type = IdType.INPUT)
    private long id;

    @ApiModelProperty("学员id")
    @TableField("student_id")
    private  long  studentId;

    @ApiModelProperty("学员阶段(1：科目一；2：科目二；3：科目三；4：科目四)")
    @TableField("phase")
    private  long  phase;

    @ApiModelProperty("推送类型（1：约考结果推送；2：考试结果推送）")
    @TableField("push_type")
    private  long  pushType;

    @ApiModelProperty("驾校id")
    @TableField("driver_id")
    private  long  driverId;

    @ApiModelProperty("发送状态(-1取消   0发送成功 1 发送中 2发送失败)")
    @TableField("new_state")
    private  long  newState;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private  long  createTime;

    @ApiModelProperty("操作者id")
    @TableField("user_id")
    private  long  userId;

}
